package com.hksj.lntm.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author fjt
 * @data 2024/11/11 17:32
 * @describe
 */
@Data
public class LiquidNitrogenDeviceHistoryDataVO implements Serializable {

    private static final long serialVersionUID = -2252504080571150160L;

    @ApiModelProperty("设备id")
    private String deviceId;

    @ApiModelProperty("属性key")
    private String property;

    @ApiModelProperty("属性名称")
    private String propertyName;

    @ApiModelProperty("上报值")
    private Double numberValue;

    @ApiModelProperty("上报时间")
    private Double createTime;

    @ApiModelProperty(value = "所属时间", hidden = true)
    private String belongingTime;

    public Date getCreateTime(){
        return new Date(createTime.longValue());
    }

}
